package com.hckjsec.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hckjsec.common.annotation.Excel;
import com.hckjsec.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 论文管理对象 sys_paper
 * 
 * @author cyt
 * @date 2021-10-11
 */
public class SysPaper extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long paperId;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    /** 发表期刊 */
    @Excel(name = "发表期刊")
    private String periodical;

    /** 作者 */
    @Excel(name = "作者")
    private String author;

    /** 发表时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发表时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date publicationTime;

    /** 发表期次 */
    @Excel(name = "发表期次")
    private String period;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 附件 */
    @Excel(name = "附件")
    private String enclosurepath;

    /** 操作人 */
    @Excel(name = "操作人")
    private Long operator;

    /** 提交时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "提交时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date operatortime;

    public void setPaperId(Long paperId) 
    {
        this.paperId = paperId;
    }

    public Long getPaperId() 
    {
        return paperId;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setPeriodical(String periodical) 
    {
        this.periodical = periodical;
    }

    public String getPeriodical() 
    {
        return periodical;
    }
    public void setAuthor(String author) 
    {
        this.author = author;
    }

    public String getAuthor() 
    {
        return author;
    }
    public void setPublicationTime(Date publicationTime) 
    {
        this.publicationTime = publicationTime;
    }

    public Date getPublicationTime() 
    {
        return publicationTime;
    }
    public void setPeriod(String period) 
    {
        this.period = period;
    }

    public String getPeriod() 
    {
        return period;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setEnclosurepath(String enclosurepath) 
    {
        this.enclosurepath = enclosurepath;
    }

    public String getEnclosurepath() 
    {
        return enclosurepath;
    }
    public void setOperator(Long operator) 
    {
        this.operator = operator;
    }

    public Long getOperator() 
    {
        return operator;
    }
    public void setOperatortime(Date operatortime) 
    {
        this.operatortime = operatortime;
    }

    public Date getOperatortime() 
    {
        return operatortime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("paperId", getPaperId())
            .append("title", getTitle())
            .append("deptId", getDeptId())
            .append("periodical", getPeriodical())
            .append("author", getAuthor())
            .append("publicationTime", getPublicationTime())
            .append("period", getPeriod())
            .append("content", getContent())
            .append("enclosurepath", getEnclosurepath())
            .append("operator", getOperator())
            .append("operatortime", getOperatortime())
            .toString();
    }
}
